Turning Eclipse Against Itself: Improving the Quality of Eclipse Plugins
نویسنده
چکیده
While many researchers have used Eclipse as a platform for developing software engineering and program analysis tools, Eclipse itself presents an excellent subject for analysis and study. Eclipse represents one of the biggest Java projects ever created. While surprisingly robust, Eclipse still suffers from serious bugs that lead to crashes and resource exhaustion. Eclipse is a collaborative development projects, with its core developers located across multiple continents. Furthermore, hundreds of available plugins are developed by programmers with varying levels of familiarity with the intricacies of Eclipse APIs. As a result of API misuse, complex application-specific bugs are introduced. In this paper1we describe common patterns in Eclipse code and propose lightweight analyses for finding their misuse. Bugs addressed in this paper often do not immediately exhibit themselves and are often discovered after deployment. In our experiments, we find a total of 68 likely errors in Eclipse sources that violate the coding patterns we describe. In addition to these lightweight bug checkers, we also propose the use of Eclipse templates extracted from existing Eclipse code as a way to capture important coding rules.
منابع مشابه
Turning Eclipse Against Itself: Finding Bugs in Eclipse Code Using Lightweight Static Analysis
While some commonly occurring error patterns in Java are addressed by static tools such as FindBugs[5], complex software systems are full of rules that developers must follow. These application-specific rules are often not expressed in any way other than code comments and often are not enforced, leading to hard-to-detect bugs later in the program execution. Eclipse represents one of the biggest...
متن کاملVariations in the sky brightness during a lunar eclipse
A total lunar eclipse is conjectured to have influence on the physical conditions of an environmental area, particularly on the brightness of the sky. The phenomenon might also be relevant on weather parameters change on Earth, such as temperature, humidity and pressure, though a straightforward correlation is not easy to establish. This work mainly aims at measuring the brightness of the sky a...
متن کاملEclipse Support for Using Eli and Teaching Programming Languages
This demonstration will show Eclipse plugins developed at Macquarie and Colorado to support the Eli Language Processor Generation system and to enhance teaching of programming language concepts and implementation techniques. The plugins support exploration of programming language semantics, integrated development in the Eli system, and high-level observations of compiler execution.
متن کاملVIKAMINE - Open-Source Subgroup Discovery, Pattern Mining, and Analytics
This paper presents an overview on the VIKAMINE system for subgroup discovery, pattern mining and analytics. As of VIKAMINE version 2, it is implemented as rich-client platform (RCP) application, based on the Eclipse framework. This provides for a highly-configurable environment, and allows modular extensions using plugins. We present the system, briefly discuss exemplary plugins, and provide a...
متن کاملInvestigating the Role of Code Smells in Preventive Maintenance
The quest for improving the software quality has given rise to various studies which focus on the enhancement of the quality of software through various processes. Code smells, which are indicators of the software quality have not been put to an extensive study for as to determine their role in the prediction of defects in the software. This study aims to investigate the role of code smells in ...
متن کامل